@import './normalize.css';
// 基本样式
$MainColor: #255B8B;
$RedColor: #D0021B;
body{
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  // font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  background-color: #f7f7f7;
  font-size: 14px;
  color: #333333;
}

a{
  color: $MainColor;
  cursor: pointer;
}
.icons{
  display: inline-block;
  background-position: center;
  background-size: cover;
  width: 18px;
  height: 18px;
}
ul{
  padding: 0;
  margin: 0;
  list-style: none;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 0px;
}
.nodata{
  text-align: center;
  padding: 60px 0;
  color: #888;
  h5{
    font-size: 16px;
    color: #333;
    font-weight: 100;
  }
  .nodata-btns{
    margin-top: 40px;
    overflow: hidden;
    a{
      display: inline-block;
      padding: 10px 20px;
      border-radius: 40px;
      width: 80px;
      margin: 10px;
    }
    .nodata-btn-user{
      background-color: #eee;
      color: #999;
    }
    .nodata-btn-index{
      background-color: rgb(192,201,216);
      color: #fff;
    }
  }
}
img.max{
  width: 100%;
  max-width: 100%;
}
img.circle{
  border-radius: 100%;
}
.maxs{
  width: 100%;
  height: 100%;
  vertical-align: bottom;
}

.yh-layout-box{
  margin: 0 auto;

  height: 100%;
  width: 1200px;
}

.yh-text-color{
  color: $MainColor;
}
.yh-text-bg{
  background-color: $MainColor;
}
.yh-middle{
  vertical-align: middle;
}
.bg-white{
  background-color: #fff;
}
.font-white{
  color: #fff;
}
.font-red{
  color: $RedColor;
}

.fl{
  float: left;
}
.fr{
  float: right;
}
.over{
  overflow: hidden;
}
.clearfix{
  overflow: hidden;
  zoom: 1;
}
.mt-10{
  margin-top: 10px;
}
.mt-20{
  margin-top: 20px;
}
.mb-20{
  margin-bottom: 20px;
}
.mt-30{
  margin-top: 30px;
}
.mt-40{
  margin-top: 40px;
}
.mb-30{
  margin-bottom: 30px;
}
.ml-10{
  margin-left: 10px;
}
.mr-20{
  margin-right: 20px;
}
.tcenter{
  text-align: center;
}


// 按钮组
.btn-submit{
  background: $MainColor;
  color: #fff;
  font-weight: 500;
  width: 220px;
  line-height: 50px;
  text-align: center;
  border-radius: 6px;
  display: inline-block;
}
// 三角形
.triangle-up,.triangle-bottom{
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: middle;
}

// 向上
.triangle-up{
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
	border-bottom: 6px solid #888888;
}
// 向下
.triangle-bottom{
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
	border-top: 6px solid #888888;
}

// 格式化价格
.filterPrice{
  color: $RedColor;
  font-size: 20px;
  .price-number{
    font-size: 36px;
  }
}
#app{
  width: 100%;
}
.home{
  width: 100%;
  margin: 0 auto;
}

.cursor{
  cursor: pointer;
}
.min-height-300{
  min-height: 300px;
}
.common-goods-item{
  background-color: #fff;
  border-radius: 10px;
  width: 280px;
  height: 350px;
  float: left;
  margin: 0 7px;
  padding-bottom: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  padding-bottom: 10px;
  cursor: pointer;
  transition: all 0.4s;
  .cgitem-pic{
    height: 280px;
    overflow: hidden;
    margin-bottom: 8px;
    transition: all 0.3s;
    &:hover{
      box-shadow: 0 12px 36px rgba(0,0,0,0.1)
    }
  }
  .cgitem-title{
    font-size: 14px;
    color: #333;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 20px;
    display: -webkit-box;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    height: 20px;
    letter-spacing: 1px;
  }
  .cgitem-price{
    text-align: center;
    color: #D0021B;
    margin-top: 10px;
  }
}
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #255b8b;
  border-color: #255b8b;
}
.el-checkbox__input.is-checked+.el-checkbox__label{
  color: #255B8B;
}
